package top.coori;

/**
 * @Auther: KafuuCoori
 * @Date: 2022/6/4 - 06 - 04 - 9:48
 * @Description: top.coori
 * @version: 1.0
 */

public class Father {
    // 属性
    private int a;

    // 方法
    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    // 自定的方法
    public String method() {
        return "A is " + a;
    }

    // 构造器
    public Father() {
    }

    public Father(int a) {
        this.a = a;
    }
}
